package com.haiqiu.file.local.utils;


/**
 * @author haiqiu
 */
public class FileServer {
    /**
     * 文件名
     */
    private String filename;
    /**
     * 文件类型
     */
    private String type;
    /**
     * 当前路径列表
     */
    private String parent;
    /**
     * 是否可读
     */
    private Boolean canRead;
    /**
     * 是否可写
     */
    private Boolean canWrite;
    /**
     * 文件或者文件夹本身的路径
     */
    private String absolutePath;
    /**
     * 文件本身所在路径
     */
    private String path;
    /**
     * 检查文件或目录路径是否是绝对路径
     */
    private Boolean isAbsolute;
    /**
     * 对象是否是文件夹
     */
    private Boolean isDirectory;
    /**
     * 对象是否是文件
     */
    private Boolean isFile;
    /**
     * 对象是否是隐藏文件或文件夹
     */
    private Boolean isHidden;
    /**
     * 对象最后修改时间
     */
    private String lastModifiedTime;
    /**
     * 对象文件或者目录大小
     */
    private String size;
    /**
     * 对象文件夹是否为空
     */
    private Boolean folderIsNull;
    /**
     * 文件url地址
     */
    private String url;
    /**
     * 上级目录
     */
    private String back;

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public Boolean getCanRead() {
        return canRead;
    }

    public void setCanRead(Boolean canRead) {
        this.canRead = canRead;
    }

    public Boolean getCanWrite() {
        return canWrite;
    }

    public void setCanWrite(Boolean canWrite) {
        this.canWrite = canWrite;
    }

    public String getAbsolutePath() {
        return absolutePath;
    }

    public void setAbsolutePath(String absolutePath) {
        this.absolutePath = absolutePath;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Boolean getAbsolute() {
        return isAbsolute;
    }

    public void setAbsolute(Boolean absolute) {
        isAbsolute = absolute;
    }

    public Boolean getDirectory() {
        return isDirectory;
    }

    public void setDirectory(Boolean directory) {
        isDirectory = directory;
    }

    public Boolean getFile() {
        return isFile;
    }

    public void setFile(Boolean file) {
        isFile = file;
    }

    public Boolean getHidden() {
        return isHidden;
    }

    public void setHidden(Boolean hidden) {
        isHidden = hidden;
    }

    public String getLastModifiedTime() {
        return lastModifiedTime;
    }

    public void setLastModifiedTime(String lastModifiedTime) {
        this.lastModifiedTime = lastModifiedTime;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Boolean getFolderIsNull() {
        return folderIsNull;
    }

    public void setFolderIsNull(Boolean folderIsNull) {
        this.folderIsNull = folderIsNull;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getBack() {
        return back;
    }

    public void setBack(String back) {
        this.back = back;
    }
}
